package com.baozh.model;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.ws.rs.HeaderParam;

/**
 * @author hubert
 * @date 2018/12/14
 * @description AuthenticationInfo
 */
public class AuthenticationInfo {
	@HeaderParam("X-TOKEN")
	@Schema(description = "The an expiring token assigned to a user")
	protected String token;
	@HeaderParam("X-REQUEST-HASH")
	@Schema(description = "A HMAC-SHA hash based on the request being made")
	protected String hash;

	public String getHash() {
		return token;
	}
	public void setHash(String token) {
		this.token = token;
	}

	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
}
